<?php
$strTableName="gsp_commercial_details";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="gsp_commercial_details";

$gstrOrderBy="";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$gsqlHead="SELECT id,  bcontact_id,  account_id,  ship_mode_id,  ship_from_city,  ship_from_country,  ship_to_country,  ship_to_port,  ship_date,  remarks,  support_documents,  origin_requirements,  book_nos,  ship_status,  status,  signatory,  pre_carriage_mode,  pre_carriage_from,  pre_carriage_to,  ref_id,  \"\" AS buyer_address,  \"\" AS account_address";
$gsqlFrom="FROM gsp_commercial_details";
$gsqlWhereExpr="";
$gsqlTail="";

include(getabspath("include/gsp_commercial_details_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_gsp_commercial_details;
$eventObj = &$tableEvents["gsp_commercial_details"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>